# Contributor: Aaron Hurt <ahurtd@ena.com>
# Maintainer:
pkgname=dumb-init
pkgver=1.2.5
pkgrel=1
pkgdesc="minimal init system for Linux containers"
options="!check" # Testsuite meant to be ran from docker images
url="https://github.com/Yelp/dumb-init"
arch="all"
license="MIT"
makedepends="bash"
source="$pkgname-$pkgver.tar.gz::https://github.com/Yelp/dumb-init/archive/v$pkgver.tar.gz"

build() {
	make
}

package() {
	install -sD -m 755 dumb-init "$pkgdir"/usr/bin/dumb-init
}

sha512sums="b2822f8d80050edd03495acb74c3087a9d4bbadd0250ea0166d67799d4308a2e29e1f08c404c232a418c6f09cfdd8ccb4fed1b29395e1b670965b770b9f310cf  dumb-init-1.2.5.tar.gz"
